package chen.yi.component.code.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableField;
/**
 * 元素属性实体类
 * @author huat
 **/
@Setter
@Getter
@ToString
@TableName("element_attr_info")
public class ElementAttrInfoPO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 属性编码分组
     **/
    @TableField(value = "attr_code")
    private String attrCode;

    /**
     * 分组名称
     **/
    @TableField(value = "attr_name")
    private String attrName;

    /**
     * 数据状态
     **/
    @TableField(value = "status")
    private String status;
    /**
     * 组件属性展示类型HTML标签
     */
    @TableField(value = "attr_show_type")
    private String attrShowType;
    /**
     * 属性value值类型 boolean number 字符串
     */
    @TableField(value = "attr_value_type")
    private String attrValueType;
    /**
     * 组件id
     */
    @TableField("element_id")
    private Integer elementId;

}
